package com.asgin;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v4.content.ContextCompat;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
@Asgin(R.layout.activyt_main)
public class MainActivity extends BaseActivity {

    @Asgin(R.id.view1)
    private TextView view1;

    @Asgin(R.id.view2)
    private TextView view2;

    @Asgin(R.id.view3)
    private TextView view3;



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        view1.setText("22222222222222222");
        view2.setText("3333333333333333333");
        view2.setTextColor(ContextCompat.getColor(this,R.color.colorAccent));
        view3.setText("44444444444444444444444");
    }
}
